package com.ruoyi.logistic.service.impl;

import com.github.pagehelper.PageHelper;
import com.ruoyi.logistic.domain.NetworkRewardApportionCollect;
import com.ruoyi.logistic.domain.NetworkRewardApportionStatistics;
import com.ruoyi.logistic.domain.PageDate;
import com.ruoyi.logistic.domain.vo.NetworkRewardApportionCollectVo;
import com.ruoyi.logistic.mapper.NetworkRewardApportionCollectMapper;
import com.ruoyi.logistic.mapper.NetworkRewardApportionStatisticsMapper;
import com.ruoyi.logistic.service.NetworkRewardApportionCollectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class NetworkRewardApportionCollectServiceImpl implements NetworkRewardApportionCollectService {
    @Autowired
    private NetworkRewardApportionCollectMapper networkRewardApportionCollectMapper;
    @Override
    public List<NetworkRewardApportionCollect> collect(NetworkRewardApportionCollectVo networkRewardApportionCollectVo) {
        PageHelper.startPage(networkRewardApportionCollectVo.getPageDate());
        return networkRewardApportionCollectMapper.collect(networkRewardApportionCollectVo);
    }
}
